package com.czxy.client;

import com.czxy.pojo.User;
import org.springframework.http.ResponseEntity;

/**
 * @author 张青卯
 * @date Created in 10:56 2019/2/26
 */
public class UserClientFallback implements UserClient {

    @Override
    public ResponseEntity<User> findUserByMobile(String mobile, String password) {
        User user = new User();
        user.setId(-100);
        return ResponseEntity.ok(user);
    }
}
